import { uiwu } from "@/api/interface/interface"
import type { wenanRequestItf } from './type'

/** 文案列表 **/
export const wenanApi = async(data: wenanRequestItf): Promise<any> => {
    return await uiwu.get({
        url: `wenan/list`,
        data
    })
}

/** 文案分类 **/
export const categoryApi = async(): Promise<any> => {
    return await uiwu.get({
        url: `wenan/category`,
    })
}

/** 海报 **/
export const posterApi = async(data: object):  Promise<any> => {
    return await uiwu.post({
        url: `fans/poster`,
        data
    })
}
